//
//  NameViewController.h
//  ITHome
//
//  Created by lanou3g on 15/7/14.
//  Copyright (c) 2015年 YAX. All rights reserved.
//

#import <UIKit/UIKit.h>

// 声明协议
@protocol NameProtocol <NSObject>

// 协议方法
- (void)updateUserName:(NSString *)userName;

@end



@interface NameViewController : UIViewController

@property (nonatomic, copy) NSString *userName;

// 创建代理属性
@property (nonatomic, assign) id<NameProtocol> delegate;

@end
